import { configureStore } from "@reduxjs/toolkit";

import appSlice from "../appSlice";

// 创建store
const store = configureStore({
  // 传入reducer函数
  reducer: {
    app: appSlice,
  },
});

export default store;
